//    Copyright (C) Kherty.  All rights reserved.
using System.Diagnostics.Contracts;
using OpenLS.Spreadsheet.Expressions;

namespace OpenLS.Spreadsheet
{
    class ArrayFormula
    {
        private readonly Expression _expression;
        private readonly Range _range;

        public ArrayFormula(Expression expression, Range target)
        {
            Contract.Requires(expression != null);

            _expression = expression;
            _range = target;
        }

        public Expression Expression
        {
            get { return _expression; }
        }

        public Range Range
        {
            get { return _range; }
            
        }
    }
}